home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / dopus412-gpl / dopus_print / lsprintf.asm < prev    next >
Assembly Source File  |  2000-02-28  |  1KB  |  49 lines

  1. ; Directory Opus 4
  2. ; Original GPL release version 4.12
  3. ; Copyright 1993-2000 Jonathan Potter
  4. ; This program is free software; you can redistribute it and/or
  5. ; modify it under the terms of the GNU General Public License
  6. ; as published by the Free Software Foundation; either version 2
  7. ; of the License, or (at your option) any later version.
  8. ; This program is distributed in the hope that it will be useful,
  9. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. ; GNU General Public License for more details.
  12. ; You should have received a copy of the GNU General Public License
  13. ; along with this program; if not, write to the Free Software
  14. ; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  15. ; All users of Directory Opus 4 (including versions distributed
  16. ; under the GPL) are entitled to upgrade to the latest version of
  17. ; Directory Opus version 5 at a reduced price. Please see
  18. ; http://www.gpsoft.com.au for more information.
  19. ; The release of Directory Opus 4 under the GPL in NO WAY affects
  20. ; the existing commercial status of Directory Opus 5.
  21.  
  22. _LVORawDoFmt equ -$20a
  23.  
  24.     XDEF _lsprintf
  25.  
  26.     section text,code
  27.  
  28. _lsprintf:
  29.     movem.l a2/a3/a6,-(sp)
  30.     move.l 4*4(sp),a3
  31.     move.l 5*4(sp),a0
  32.     lea.l 6*4(sp),a1
  33.     lea.l stuffChar(pc),a2
  34.     move.l 4,a6
  35.     jsr _LVORawDoFmt(a6)
  36.     movem.l (sp)+,a2/a3/a6
  37.     rts
  38.  
  39. stuffChar:
  40.     move.b d0,(a3)+
  41.     rts
  42.  
  43.     end
  44.